/*
 * Copyright (c) 2012-2014, EpicSaaS Yuan Xin technology Co., Ltd.
 * 
 * All rights reserved.
 */
package com.epicsaas.app.ksdapp.android.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author fbl
 * 商品套餐
 */
public class ProductBundle implements Serializable {

    private static final long serialVersionUID = -7258792839369880709L;

    /** 显示详细的 */
    private boolean isShow;

    /** bundle id */
    private long id;

    /** 原有商品 */
    private Product primaryProduct;

    /** 套餐名 */
    private String name;

    /** 包含的商品列表 */
    private List<Product> productDTOs;

    /** 价格  */
    private float price;

    /** 市场价 */
    private float marketPrice;

    public float getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(float marketPrice) {
        this.marketPrice = marketPrice;
    }

    @Override
    public String toString() {
        return "Bundle [primaryProduct=" + primaryProduct + ", name=" + name + ", productDTO=" + productDTOs + "]";
    }

    public ProductBundle() {
        super();
    }

    public ProductBundle(boolean isShow, Product primaryProduct, String name, List<Product> productDTO) {
        super();
        this.isShow = isShow;
        this.primaryProduct = primaryProduct;
        this.name = name;
        this.productDTOs = productDTO;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public boolean isShow() {
        return isShow;
    }

    public void setShow(boolean isShow) {
        this.isShow = isShow;
    }

    public Product getPrimaryProduct() {
        return primaryProduct;
    }

    public void setPrimaryProduct(Product primaryProduct) {
        this.primaryProduct = primaryProduct;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Product> getProductDTO() {
        return productDTOs;
    }

    public void setProductDTO(List<Product> productDTO) {
        this.productDTOs = productDTO;
    }

}
